<template>
  <div class="c-layout-login">
    <VueParticles
      color="#05c4fa"
      :particleOpacity="0.7"
      :particlesNumber="80"
      shapeType="circle"
      :particleSize="4"
      linesColor="#05c4fa"
      :linesWidth="1"
      :lineLinked="true"
      :lineOpacity="0.4"
      :linesDistance="150"
      :moveSpeed="3"
      :hoverEffect="true"
      hoverMode="grab"
      :clickEffect="true"
      clickMode="push"></VueParticles>
    <div class="c-dialog-wrap">
      <slot></slot>
    </div>
  </div>
</template>
<script setup>
import VueParticles from '../components/particle/Vue-Particles'

</script>
<style lang="less" scoped>
.c-layout-login {
  width: 100%;
  height: 100vh;
  /* background-color: #686868; */
  /* background-color: #4245f8; */
  /* background-color: #013e75; */
  background-color: #232323;
  background-image: url(https://static.jsvue.cn/5600gg/common/images/banner-earth.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: 17%;
  background-position-y: 40px;
}
.particles-js {
  height: 99.5%;
}
.c-dialog-wrap {
  width: 360px;
  height: 600px;
  background-color: #fff;
  border-radius: 4px;
  transform: translate(60%, -50%);
  position: absolute;
  left: 50%;
  top: 50%;
}
</style>
